﻿/**
 * Peter
 * Created by: Peter Development Team
 *    http://peter.codeplex.com/
 * 
 * GNU General Public License version 2 (GPLv2)
 *    http://peter.codeplex.com/license
 *
 *  This code is provided on an AS IS basis, with no WARRANTIES,
 *  CONDITIONS or GUARANTEES of any kind.
 *  
 **/
using System.Windows;
using System.Windows.Input;
using Peter.Controls;

namespace Peter.Logic
{
   public static class PeterInternalCommands
   {
      /// <summary>
      /// Format command. Formats the current document.
      /// </summary>
      public static readonly RoutedCommand Format = new RoutedCommand (
         "Format", typeof (Window));

      /// <summary>
      /// Change Highlighting command. Changes the highlighting of the current document.
      /// </summary>
      public static readonly RoutedCommand ChangeHighlighting = new RoutedCommand (
         "ChangeHighlighting", typeof (Window));

      /// <summary>
      /// Show Code Completion command. Shows the code completion window.
      /// </summary>
      public static readonly RoutedCommand ShowCodeCompletion = new RoutedCommand ("ShowCodeCompletion",
         typeof (CodeEditor), new InputGestureCollection { new KeyGesture (Key.Space, ModifierKeys.Control) });
   }
}
